package com.ce.server.service;

import com.ce.server.common.RespBean;
import com.ce.server.common.RespPageBean;
import com.ce.server.pojo.Working;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郑爽
 * @since 2021-11-26
 */
public interface IWorkingService extends IService<Working> {

  /**
   * 分页获取所有数据
   * @return
   */
  RespPageBean getAllRecords(@RequestParam(defaultValue = "1") Integer currentPage,
                             @RequestParam(defaultValue = "10") Integer size,
                             Date date,String last_next);
}
